class Person:

    def __init__(self, name, age):
        """初始化
        
        :param name: _description_
        :param age: _description_
        """
        self.name = name
        self.age = age

    def eat(self):
        print("吃饭")

    def run(self):
        print("跑步")

    def say_hello(self, target):
        print("hello,", target)


# 1.创建对象
p = Person("桑尼", 20)
# 2.调用对象的方法
p.eat()
p.run()
p.say_hello("小红")
